/*
 * Copyright (c) 2023-2299 深圳市阿毛科技有限公司 All rights reserved.
 *
 * https://www.lamyz.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */
package com.lam.mall.api.common.listener;

import org.springframework.context.event.EventListener;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.lam.mall.api.common.order.SubmitOrderOrder;
import com.lam.mall.common.event.SubmitOrderEvent;

/**
 * 确认订单信息时的默认操作
 *
 * @author 
 */
@Component("defaultSubmitOrderListener")
public class SubmitOrderListener {

    /**
     * 计算订单金额
     */
    @EventListener(SubmitOrderEvent.class)
    @Order(SubmitOrderOrder.DEFAULT)
    @Transactional
    public void defaultSubmitOrderListener(SubmitOrderEvent event) {
        
    }

}
